package edu.uoc.tdp.pac4.client.logandreg;

import java.io.Serializable;
import java.util.Date;

/**
 * Class to resume the status of the Registrations of the student logged
 * Status:
 * 
 * 0: pending
 * 1: accepted
 * 2: declined
 * 
 * @author oscarmateu
 */

public class RegistrationData implements Serializable {


	private static final long serialVersionUID = 1L;

	
	private String coursename;
	private String groupname;
	private Date startDate;
	private Date endDate;
	private String status;
	

	public RegistrationData(String coursename, String groupname,
			Date startDate, Date endDate, String status) {
		super();
		this.coursename = coursename;
		this.groupname = groupname;
		this.startDate = startDate;
		this.endDate = endDate;
		this.status = status;
	}



	public String getCoursename() {
		return coursename;
	}


	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}


	public String getGroupname() {
		return groupname;
	}


	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}


	public Date getStartDate() {
		return startDate;
	}


	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}


	public Date getEndDate() {
		return endDate;
	}


	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}


	public String getStatus() {
		return status;
	}


	public void setStatus(String status) {
		this.status = status;
	}
	
	
}
